package com.ljf.daily.consumptiondetail.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * 日常消费明细对象  daily_dat_consumption_detail  状态  status  枚举
 *
 * @author LJF
 * @since 2024-06-26
 */
@Getter
public enum DailyDatConsumptionDetailStatusEnum implements BasicEnum {

    NOT_FINISH(0, "未完成"),
    FINISHED(1, "已完成");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

    DailyDatConsumptionDetailStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

}
